package com.ruoyi.web.xxj.service;


import org.springframework.http.ResponseEntity;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.web.xxj.domain.pojo.WeChatReq;

public interface IWxloginService {

    public AjaxResult wxLogin(WeChatReq weChatReq);

    /**
     * 获取微信小程序的基本信息
     *
     * @param code
     * @return
     * @throws JsonProcessingException
     */
    public ResponseEntity<String> getWechatBaseInfo(String code) throws JsonProcessingException;
    
    public AjaxResult getPhoneNo(String code);

}
